<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>icon.svg 示例文件 | Qt Quick 5.12.3</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtquick-index.html">Qt Quick 模块</a></td><td ><a href="qtquick-window-example.html">Qt Quick 示例 - Window and Screen</a></td><td >icon.svg 示例文件</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">icon.svg 示例文件</h1>
<span class="subtitle">window/resources/icon.svg</span>
<!-- $$$window/resources/icon.svg-description -->
<div class="descr"> <a name="details"></a>
<pre class="cpp">

  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
  &lt;!-- Created with Inkscape (http://www.inkscape.org/) --&gt;

  &lt;svg
     xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
     xmlns:cc=&quot;http://creativecommons.org/ns#&quot;
     xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
     xmlns:svg=&quot;http://www.w3.org/2000/svg&quot;
     xmlns=&quot;http://www.w3.org/2000/svg&quot;
     xmlns:sodipodi=&quot;http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd&quot;
     xmlns:inkscape=&quot;http://www.inkscape.org/namespaces/inkscape&quot;
     width=&quot;128&quot;
     height=&quot;128&quot;
     id=&quot;svg2&quot;
     sodipodi:version=&quot;0.32&quot;
     inkscape:version=&quot;0.48.2 r9819&quot;
     version=&quot;1.0&quot;
     sodipodi:docname=&quot;icon.svg&quot;
     inkscape:export-filename=&quot;/Users/rutledge/dev/qt5-stable/qtdeclarative/examples/quick/window/window/icon80.png&quot;
     inkscape:export-xdpi=&quot;61.509998&quot;
     inkscape:export-ydpi=&quot;61.509998&quot;
     inkscape:output_extension=&quot;org.inkscape.output.svg.inkscape&quot;&gt;
    &lt;defs
       id=&quot;defs4&quot;&gt;
      &lt;linearGradient
         id=&quot;linearGradient4009&quot;&gt;
        &lt;stop
           style=&quot;stop-color:#ffffff;stop-opacity:1;&quot;
           offset=&quot;0&quot;
           id=&quot;stop4011&quot; /&gt;
        &lt;stop
           id=&quot;stop4019&quot;
           offset=&quot;0.875&quot;
           style=&quot;stop-color:#ffffff;stop-opacity:0.49803922;&quot; /&gt;
        &lt;stop
           style=&quot;stop-color:#ffffff;stop-opacity:0;&quot;
           offset=&quot;1&quot;
           id=&quot;stop4013&quot; /&gt;
      &lt;/linearGradient&gt;
      &lt;inkscape:perspective
         sodipodi:type=&quot;inkscape:persp3d&quot;
         inkscape:vp_x=&quot;0 : 186.64798 : 1&quot;
         inkscape:vp_y=&quot;0 : 1000 : 0&quot;
         inkscape:vp_z=&quot;559.62469 : 186.64798 : 1&quot;
         inkscape:persp3d-origin=&quot;279.81235 : 124.43199 : 1&quot;
         id=&quot;perspective4876&quot; /&gt;
      &lt;inkscape:perspective
         id=&quot;perspective2836&quot;
         inkscape:persp3d-origin=&quot;22 : 14.666667 : 1&quot;
         inkscape:vp_z=&quot;44 : 22 : 1&quot;
         inkscape:vp_y=&quot;0 : 1000 : 0&quot;
         inkscape:vp_x=&quot;0 : 22 : 1&quot;
         sodipodi:type=&quot;inkscape:persp3d&quot; /&gt;
      &lt;filter
         inkscape:collect=&quot;always&quot;
         id=&quot;filter4063&quot;
         x=&quot;-0.195491&quot;
         width=&quot;1.390982&quot;
         y=&quot;-0.16235915&quot;
         height=&quot;1.3247183&quot;&gt;
        &lt;feGaussianBlur
           inkscape:collect=&quot;always&quot;
           stdDeviation=&quot;3.3077485&quot;
           id=&quot;feGaussianBlur4065&quot; /&gt;
      &lt;/filter&gt;
    &lt;/defs&gt;
    &lt;sodipodi:namedview
       id=&quot;base&quot;
       pagecolor=&quot;#ffffff&quot;
       bordercolor=&quot;#666666&quot;
       borderopacity=&quot;1.0&quot;
       gridtolerance=&quot;10&quot;
       guidetolerance=&quot;10&quot;
       objecttolerance=&quot;10000&quot;
       inkscape:pageopacity=&quot;0.0&quot;
       inkscape:pageshadow=&quot;2&quot;
       inkscape:zoom=&quot;2.9775825&quot;
       inkscape:cx=&quot;62.656189&quot;
       inkscape:cy=&quot;42.423381&quot;
       inkscape:document-units=&quot;px&quot;
       inkscape:current-layer=&quot;layer1&quot;
       inkscape:window-width=&quot;1280&quot;
       inkscape:window-height=&quot;744&quot;
       inkscape:window-x=&quot;2003&quot;
       inkscape:window-y=&quot;156&quot;
       showgrid=&quot;true&quot;
       borderlayer=&quot;true&quot;
       showguides=&quot;true&quot;
       inkscape:guide-bbox=&quot;true&quot;
       inkscape:snap-global=&quot;false&quot;
       inkscape:window-maximized=&quot;0&quot;&gt;
      &lt;inkscape:grid
         type=&quot;xygrid&quot;
         id=&quot;grid7194&quot;
         visible=&quot;true&quot;
         enabled=&quot;true&quot;
         spacingx=&quot;8px&quot;
         spacingy=&quot;8px&quot; /&gt;
    &lt;/sodipodi:namedview&gt;
    &lt;metadata
       id=&quot;metadata7&quot;&gt;
      &lt;rdf:RDF&gt;
        &lt;cc:Work
           rdf:about=&quot;&quot;&gt;
          &lt;dc:format&gt;image/svg+xml&lt;/dc:format&gt;
          &lt;dc:type
             rdf:resource=&quot;http://purl.org/dc/dcmitype/StillImage&quot; /&gt;
          &lt;dc:title&gt;&lt;/dc:title&gt;
        &lt;/cc:Work&gt;
      &lt;/rdf:RDF&gt;
    &lt;/metadata&gt;
    &lt;g
       inkscape:label=&quot;Layer 1&quot;
       inkscape:groupmode=&quot;layer&quot;
       id=&quot;layer1&quot;
       transform=&quot;translate(-66.38047,-391.3222)&quot;&gt;
      &lt;path
         id=&quot;path7304&quot;
         d=&quot;M 95.556318,434.65407 L 165.25811,434.65407 L 165.25811,490.10429 L 95.556318,490.10429 L 95.556318,434.65407 z&quot;
         style=&quot;fill:#01afaf;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:5.24121141000000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate&quot; /&gt;
      &lt;path
         style=&quot;fill:#a7c706;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none&quot;
         d=&quot;m 96.869177,465.30846 c 27.677903,3.04574 41.155393,12.11589 48.000003,24 l -48.000003,0 0,-24 z&quot;
         id=&quot;path7300&quot;
         sodipodi:nodetypes=&quot;cccc&quot;
         inkscape:connector-curvature=&quot;0&quot; /&gt;
      &lt;path
         sodipodi:nodetypes=&quot;cccc&quot;
         id=&quot;path7302&quot;
         d=&quot;M 165.46767,465.22201 C 137.78977,468.26775 124.31228,477.33791 117.46767,489.22201 L 165.46767,489.22201 L 165.46767,465.22201 z&quot;
         style=&quot;fill:#966406;fill-rule:evenodd;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1&quot; /&gt;
      &lt;path
         style=&quot;fill:#80ffff;fill-rule:evenodd;stroke:#000000;stroke-width:5.24121141000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;opacity:1;fill-opacity:1&quot;
         d=&quot;M 95.532809,434.35736 L 74.567964,420.38079 L 74.567964,497.25189 L 95.532809,490.26361 L 95.532809,434.35736 z&quot;
         id=&quot;path7270&quot;
         sodipodi:nodetypes=&quot;ccccc&quot; /&gt;
      &lt;path
         style=&quot;fill:#00ffff;fill-rule:evenodd;stroke:#000000;stroke-width:5.24121141;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1&quot;
         d=&quot;M 74.567964,455.3222 L 95.532809,462.31048&quot;
         id=&quot;path7272&quot;
         sodipodi:nodetypes=&quot;cc&quot; /&gt;
      &lt;g
         style=&quot;fill:#80ffff;fill-opacity:1&quot;
         id=&quot;g7278&quot;
         transform=&quot;matrix(-0.8735352,0,0,0.8735352,244.36615,64.570513)&quot;&gt;
        &lt;path
           style=&quot;fill:#80ffff;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1&quot;
           d=&quot;M 24,32 L 0,16 L 0,104 L 24,96 L 24,32 z&quot;
           id=&quot;path7280&quot;
           transform=&quot;translate(66.38047,391.3222)&quot; /&gt;
        &lt;path
           style=&quot;fill:#80ffff;fill-rule:evenodd;stroke:#000000;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1&quot;
           d=&quot;M 0,56 L 24,64&quot;
           id=&quot;path7282&quot;
           transform=&quot;translate(66.38047,391.3222)&quot;
           sodipodi:nodetypes=&quot;cc&quot; /&gt;
      &lt;/g&gt;
      &lt;path
         style=&quot;fill:#ffffff;fill-opacity:1;filter:url(#filter4063)&quot;
         d=&quot;m 119.74679,437.94232 c -0.0487,0.003 -0.0932,0.0315 -0.14149,0.0354 -0.1659,0.0132 -0.33372,0.008 -0.49523,0.0354 -0.96156,0.0643 -1.9037,0.14607 -2.86523,0.21224 -2.94807,0.23566 -5.19987,2.66253 -5.19987,6.01345 l 0,39.51194 3.32508,3.07747 0,-0.0354 33.2155,-5.58898 c 2.28673,-0.39587 4.06792,-3.06727 4.06792,-5.97808 l 0,-32.18967 -30.5625,-5.023 c -0.45263,-0.0748 -0.91269,-0.0942 -1.34418,-0.0708 z&quot;
         id=&quot;path3987&quot;
         inkscape:connector-curvature=&quot;0&quot; /&gt;
      &lt;g
         id=&quot;g3&quot;
         transform=&quot;matrix(0.20572087,0,0,0.20572087,113.4162,440.80626)&quot;&gt;
        &lt;path
           sodipodi:nodetypes=&quot;cccccccc&quot;
           id=&quot;path5&quot;
           style=&quot;fill:#006225&quot;
           d=&quot;M 43.09,0.3586 C 40.94,0.0036 38.84,-0.0824 36.81,0.0776 31.968136,0.39505671 27.122677,0.73638425 22.28,1.0696 9.62,2.0816 0,12.4996 0,26.8896 l 0,169.7 14.19,13.2 28.87,-209.42 0.03,-0.011 z&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           id=&quot;path7&quot;
           style=&quot;fill:#80c342&quot;
           d=&quot;m 174.4,160 c 0,12.5 -7.75,24.07 -17.57,25.77 L 14.23,209.73 V 25.93 C 14.23,9.21 27.57,-2.27 43.12,0.3 l 131.3,21.52 v 138.2 z&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           id=&quot;path11&quot;
           style=&quot;fill:#006225&quot;
           d=&quot;m 154.9,80.96 -12.96,-0.598 0,0.278 6.945,0.32 6.016,0 z&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           id=&quot;path13&quot;
           style=&quot;fill:#006225&quot;
           d=&quot;m 144.6,135.6 c 0.66,0.328 1.43,0.476 2.351,0.476 0.161,0 0.329,-0.004 0.497,-0.016 2.55,-0.148 5.32,-0.933 8.343,-2.308 h -6.015 c -1.821,0.832 -3.532,1.457 -5.176,1.848 z&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           d=&quot;m 91.15,132.4 c 2.351,-6.051 3.511,-17.91 3.511,-35.62 0,-15.89 -1.148,-26.82 -3.484,-32.81 -2.336,-6.027 -5.832,-9.281 -10.52,-9.691 -0.359,-0.031 -0.714,-0.051 -1.058,-0.051 -4.34,0 -7.68,2.535 -10.01,7.625 -2.52,5.543 -3.793,17.04 -3.793,34.44 0,16.82 1.238,28.75 3.734,35.75 2.356,6.672 5.879,9.976 10.5,9.976 0.207,0 0.41,-0.008 0.621,-0.019 4.633,-0.293 8.121,-3.496 10.49,-9.602 m 17.98,3.75 c -4.117,9.707 -10.39,16.06 -18.99,19 0.867,4.449 2.176,7.441 3.922,9.019 1.351,1.211 3.433,1.821 6.222,1.821 0.805,0 1.668,-0.055 2.59,-0.157 v 13.12 l -5.961,0.782 c -1.758,0.23 -3.426,0.343 -5.004,0.343 -5.218,0 -9.445,-1.265 -12.62,-3.824 -4.207,-3.379 -7.308,-9.894 -9.297,-19.54 -9.136,-1.945 -16.26,-7.754 -21.19,-17.5 -5.004,-9.902 -7.551,-24.39 -7.551,-43.34 0,-20.43 3.484,-35.51 10.34,-45.07 5.789,-8.07 13.86,-12.04 24.02,-12.04 1.629,0 3.309,0.102 5.043,0.305 11.95,1.375 20.62,7.016 26.26,16.79 5.535,9.562 8.254,23.27 8.254,41.26 0,16.48 -2,29.45 -6.043,39.02 z M 130.4,45.91 l 11.52,1.238 0,20.21 12.96,0.914 0,12.68 -12.96,-0.598 0,46.33 c 0,4.032 0.445,6.625 1.34,7.789 0.8,1.067 2.046,1.594 3.71,1.594 0.161,0 0.329,-0.004 0.497,-0.016 2.55,-0.148 5.32,-0.933 8.343,-2.308 v 11.65 c -5.136,2.258 -10.18,3.598 -15.12,4.02 -0.718,0.055 -1.41,0.086 -2.078,0.086 -4.48,0 -7.906,-1.301 -10.25,-3.934 -2.73,-3.051 -4.09,-7.949 -4.09,-14.67 V 79.535 L 118.046,79.25 V 65.66 l 7.586,0.547 4.773,-20.3 z&quot;
           style=&quot;fill:#ffffff&quot;
           id=&quot;path17&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           id=&quot;path19&quot;
           style=&quot;fill:#006225&quot;
           d=&quot;m 100.3,166 c 0.809,0 1.672,-0.055 2.59,-0.157 H 98.054 C 98.73,165.949 99.507,166 100.3,166 z&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
        &lt;path
           d=&quot;m 84.85,63.98 c 2.336,5.997 3.484,16.92 3.484,32.81 0,17.7 -1.16,29.57 -3.512,35.62 -1.894,4.879 -4.527,7.902 -7.863,9.07 0.965,0.368 1.992,0.551 3.078,0.551 0.207,0 0.41,-0.008 0.621,-0.019 4.633,-0.293 8.121,-3.496 10.49,-9.602 2.351,-6.051 3.511,-17.91 3.511,-35.62 0,-15.89 -1.148,-26.82 -3.484,-32.81 -2.336,-6.027 -5.832,-9.281 -10.52,-9.691 -0.359,-0.031 -0.714,-0.051 -1.058,-0.051 -1.09,0 -2.117,0.16 -3.082,0.481 h -0.004 c 3.601,1.121 6.379,4.215 8.336,9.261 z m -2.344,114.3 c -0.113,-0.05 -0.227,-0.105 -0.336,-0.16 -0.012,-0.004 -0.023,-0.012 -0.035,-0.015 -0.102,-0.051 -0.207,-0.106 -0.309,-0.157 -0.019,-0.011 -0.039,-0.019 -0.058,-0.031 -0.09,-0.051 -0.184,-0.098 -0.278,-0.148 -0.027,-0.016 -0.054,-0.036 -0.086,-0.051 -0.082,-0.043 -0.164,-0.09 -0.242,-0.137 -0.039,-0.023 -0.078,-0.047 -0.113,-0.07 -0.07,-0.039 -0.145,-0.082 -0.215,-0.125 -0.047,-0.031 -0.094,-0.059 -0.14,-0.09 -0.059,-0.039 -0.118,-0.074 -0.176,-0.113 -0.059,-0.039 -0.114,-0.075 -0.168,-0.114 -0.051,-0.031 -0.102,-0.066 -0.149,-0.097 -0.066,-0.047 -0.132,-0.094 -0.195,-0.137 -0.039,-0.027 -0.078,-0.055 -0.113,-0.082 -0.078,-0.055 -0.153,-0.113 -0.231,-0.172 -0.023,-0.016 -0.05,-0.035 -0.078,-0.055 -0.098,-0.078 -0.199,-0.156 -0.297,-0.234 -4.207,-3.379 -7.308,-9.894 -9.297,-19.54 -9.136,-1.945 -16.26,-7.754 -21.19,-17.5 -5.004,-9.902 -7.551,-24.39 -7.551,-43.34 0,-20.43 3.484,-35.51 10.34,-45.07 5.789,-8.07 13.86,-12.04 24.02,-12.04 h -6.351 c -10.15,0.008 -18.22,3.977 -24,12.04 -6.855,9.563 -10.34,24.64 -10.34,45.07 0,18.95 2.547,33.44 7.551,43.34 4.934,9.75 12.05,15.56 21.19,17.5 1.989,9.641 5.09,16.16 9.297,19.54 3.176,2.559 7.403,3.824 12.62,3.824 0.098,0 0.199,0 0.297,-0.004 h 5.539 c -3.406,-0.05 -6.383,-0.66 -8.906,-1.828 L 82.498,178.28 z M 128.4,145.6 c -2.73,-3.051 -4.09,-7.949 -4.09,-14.67 V 79.57 l -6.226,-0.285 v -13.59 h -6.016 v 3.035 c 0.871,3.273 1.555,6.82 2.063,10.64 l 4.164,0.192 v 51.36 c 0,6.723 1.367,11.62 4.09,14.67 2.343,2.633 5.765,3.934 10.25,3.934 h 6.015 c -4.48,0 -7.906,-1.301 -10.25,-3.934 z m 2.043,-99.66 -6.016,0 -4.668,19.88 5.911,0.422 4.773,-20.3 z&quot;
           style=&quot;fill:#006225&quot;
           id=&quot;path21&quot;
           inkscape:connector-curvature=&quot;0&quot; /&gt;
      &lt;/g&gt;
      &lt;path
         style=&quot;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:5.24121141;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate&quot;
         d=&quot;M 96.506224,434.65407 L 166.20801,434.65407 L 166.20801,490.10429 L 96.506224,490.10429 L 96.506224,434.65407 z&quot;
         id=&quot;rect7265&quot; /&gt;
    &lt;/g&gt;
  &lt;/svg&gt;

</pre>
</div>
<!-- @@@window/resources/icon.svg -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
